package level
{
	import org.flixel.*;
	
	import enemy.*;
	import interaction.*;
	import item.*;
	import treasure.*;
	
	/**
	 * ...
	 * @author JAC
	 */
	public class Level_1 extends GameState
	{
		override public function create():void
		{
			super.create();
			
			_maze.load(StaticMaze.level_1);
			
			_player.spawnAt(14, 19);
			
			addTreasure(new LootBag(9, 13));
			addTreasure(new LootBag(19, 13));
			//addTreasure(new LootBag(14, 18));
			//addTreasure(new LootBag(24, 18));
			//addTreasure(new LootBag(25, 7));
			
			addEnemy(new Robber(26, 0));
			addEnemy(new Robber(2, 0));
			
			var t1:Teleporter = new Teleporter(14, 5);
			var t2:Teleporter = new Teleporter(14, 15);
			addInteraction(t1);
			addInteraction(t2);
			t1.other = t2;
			t2.other = t1;
			
			LoggerWrapper.logLevelStart(2, "Level_1");
		}
	}
}